/**
 * Tooltip
 */

@import "../variables";

.tooltip {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 36px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  margin-top: var(--gutter-static-one-third);
  border-radius: 4px;
  padding: var(--gutter-static-one-third) var(--gutter-static-two-thirds);
  text-align: center;
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.1s;
  font-size: var(--font-size-small);
}

.text {
  font-weight: 600;
}

.sub {
  margin-top: 0.15em;
  opacity: 0.8;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
